package com.qqtech.qquan.idle.service;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import com.qqtech.core.frame.dao.BaseDao;
import com.qqtech.core.frame.service.BaseServiceImpl;

import com.qqtech.qquan.idle.dao.IdleSysParamDao;
import com.qqtech.qquan.idle.model.*;

@Service
public class IdleSysParamServiceImpl extends BaseServiceImpl<IdleSysParam>
		implements IdleSysParamService {
	public static final Logger log = LoggerFactory.getLogger(IdleSysParamServiceImpl.class);
	
	@Resource
	private IdleSysParamDao idleSysParamDao;

	@Override
	protected BaseDao<IdleSysParam> getBaseDao() {
		return idleSysParamDao;
	}
	
	@Override
	public IdleSysParam getByKey(java.lang.String key) {
		return idleSysParamDao.getByKey(key);
	}	
}